package com.qianniu.napi.admin.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.qianniu.napi.admin.entity.Order;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 订单 Mapper 接口
 * </p>
 *
 * @author chenxuebin
 * @since 2018-06-24
 */
public interface OrderMapper extends BaseMapper<Order> {

    public List<Order> selectPTOrderPage(Map<String, Object> map);

    public int selectPTOrderCount(Map<String, Object> map);

    public List<Order> selectPTOPage(Map<String, Object> map);

    public int selectPTOCount(Map<String, Object> map);

    public List<Order> selectHuodongPage(Map<String, Object> map);

    public List<Order> selectOrdersBygid(Map<String, Object> map);

    public int selectHuodongCount(Map<String, Object> map);

    public int getHdCanyushu(Map<String, Object> map);

    public Double getOrderMoneyCountbyMonth(Map<String, Object> map);

}